7904181: JMH: Fix xctrace samples handling for Xcode 26.4+#174
Conversation
|
👋 Welcome back fzhinkin! A progress list of the required criteria for merging this PR into |
|
@fzhinkin This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been no new commits pushed to the As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@shipilev) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
|
To avoid this situation, create a new branch for your changes and reset the Then proceed to create a new pull request with |
xctrace's XML trace schema had changed slightly starting from Xcode 26.4.
Before, every stacktrace will be represented by the
<backtrace/>element with multiple<frame/>elements inside.Starting from Xcode 26.4, the stracktrace is nested into the
<tagged-backtrace/>element.Even though
tagged-backtracedoes not provide any additional information that could be used by theXCTraceAsmProfiler, it uses the same trick with including an element with the full content and a unique id only once and referencing it by the id. As a result, it has to handled the same way any other "valuable" elements are handled.This PR supports the new
tagged-backtracetag.Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jmh.git pull/174/head:pull/174$ git checkout pull/174Update a local copy of the PR:
$ git checkout pull/174$ git pull https://git.openjdk.org/jmh.git pull/174/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 174View PR using the GUI difftool:
$ git pr show -t 174Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jmh/pull/174.diff
Using Webrev
Link to Webrev Comment